package com.lingnan.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

// 通知DTO
@Data
public class NotificationDTO {
    private Long id;
    private Long senderId;
    private String senderName;
    private Long receiverId;
    private Integer receiverType;
    private String title;
    private String content;
    private Integer type;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readAt;
}